package com.service.firstapp.provider;

import com.service.firstapp.bean.People;
import com.service.firstapp.bean.PeopleInfo;

import java.util.List;

/**
 * Created by wjh on 2018/3/27.
 */
public interface PeopleService {

    /**
     * 获取people列表
     * @return
     */
    public List getPeopleList();

    /**
     * 通过peopleId获取用户属性
     * @param peopleId
     * @return
     */
    public People getPeopleById(Integer peopleId);

    /**
     * 新增people
     * @param people
     */
    public People addPeople(People people);

    /**
     * 新增people 无tcc
     * @param people
     */
    public People addPeopleNoTcc(People people);

    /**
     * 更新用户状态
     * @param people
     */
    public People updatePeople(People people);

    /**
     * Rpc 无数据测试
     * @return
     */
    public String doRpcTest(String name);

}
